PROJECT = yangan
VERSION=0.1.0
REBAR3 = ./rebar3

.PHONY: deps test build

all: build

build: $(REBAR3)
	@$(REBAR3) compile

$(REBAR3):
	@chmod a+x rebar3

upgrade:
	@$(REBAR3) upgrade

deps:
	@$(REBAR3) get-deps

clean:
	@$(REBAR3) clean

distclean: clean
	@$(REBAR3) delete-deps

console:
	./_build/default/rel/${PROJECT}/bin/${PROJECT} console

doc:
	@$(REBAR3) edoc

test:
	@$(REBAR3) eunit

release:
	@$(REBAR3) release

dist:
	@$(REBAR3) tar

# end of file
